package petrus.components.events 
{
	import flash.events.Event;
	
	/**
	 * ...
	 * @author 
	 */
	public class ComponentEvent extends Event 
	{
		public static const LOADING_COMPLETE	:String = "component_loading_complete";
		public static const INDEX_CHANGED		:String = "component_index_changed";
		public static const CHANGE				:String = "component_change";
		public static const OPEN				:String = "component_open";
		public static const CLOSE				:String = "component_close";
		
		public function ComponentEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false) 
		{ 
			super(type, bubbles, cancelable);
			
		} 
		
		public override function clone():Event 
		{ 
			return new ComponentEvent(type, bubbles, cancelable);
		} 
		
		public override function toString():String 
		{ 
			return formatToString("ComponentEvent", "type", "bubbles", "cancelable", "eventPhase"); 
		}
		
	}
	
}